/****************************************************************************
** Meta object code from reading C++ file 'Jeu.h'
**
** Created: Sat Jan 24 14:09:57 2009
**      by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "Jeu.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Jeu.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.4.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Jeu[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      12,    5,    4,    4, 0x05,
      30,    4,    4,    4, 0x05,
      55,   45,    4,    4, 0x05,
      91,    4,    4,    4, 0x05,
     109,    4,    4,    4, 0x05,
     130,  123,    4,    4, 0x05,

 // slots: signature, parameters, type, tag, flags
     170,  162,    4,    4, 0x0a,
     206,  197,    4,    4, 0x0a,
     237,    4,    4,    4, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Jeu[] = {
    "Jeu\0\0player\0modePieceOn(bool)\0"
    "modePieceOff()\0positions\0"
    "modePositionOn(std::list<Position>)\0"
    "modePositionOff()\0tourneScene()\0pieces\0"
    "updatePieces(std::list<Piece*>)\0pieceGl\0"
    "setSelectedPiece(PieceGL*)\0position\0"
    "setSelectedPosition(Position*)\0start()\0"
};

const QMetaObject Jeu::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Jeu,
      qt_meta_data_Jeu, 0 }
};

const QMetaObject *Jeu::metaObject() const
{
    return &staticMetaObject;
}

void *Jeu::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Jeu))
        return static_cast<void*>(const_cast< Jeu*>(this));
    return QObject::qt_metacast(_clname);
}

int Jeu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: modePieceOn((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: modePieceOff(); break;
        case 2: modePositionOn((*reinterpret_cast< const std::list<Position>(*)>(_a[1]))); break;
        case 3: modePositionOff(); break;
        case 4: tourneScene(); break;
        case 5: updatePieces((*reinterpret_cast< std::list<Piece*>(*)>(_a[1]))); break;
        case 6: setSelectedPiece((*reinterpret_cast< PieceGL*(*)>(_a[1]))); break;
        case 7: setSelectedPosition((*reinterpret_cast< Position*(*)>(_a[1]))); break;
        case 8: start(); break;
        }
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void Jeu::modePieceOn(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Jeu::modePieceOff()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void Jeu::modePositionOn(const std::list<Position> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Jeu::modePositionOff()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void Jeu::tourneScene()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}

// SIGNAL 5
void Jeu::updatePieces(std::list<Piece*> _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
